﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace MethodWorx.CMS.Workflow.CreateContentItem
{
    [Serializable]
    public class CreateContentItemConfiguration : IWorkflowConfiguration
    {
        [Required]
        public string ContentTemplate { get; set; }
        public bool UseAutoIncrementingName { get; set; }
        [Required]
        public string ContentItemName { get; set; }

        public string GetDescriptionSummary()
        {
            return "Create: " + ContentItemName;
        }
    }
}
